﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Factory
{
    class NYPizzaStore:Store
    {
        public NYPizzaStore()
        { 
        
        }
        protected override Pizza CreatePizza(string type)
        {
            if (type.Equals("cheese"))
            {
                return new NYStyleCheesePizza();
            }
            else return null;
        }
    }
}
